package com.dreamwhale.machinery.service;

import com.dreamwhale.machinery.entity.CarManage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 车辆入驻 服务类
 * </p>
 *
 * @author Author
 * @since 2020-08-04
 */
public interface CarManageService extends IService<CarManage> {

    /**
     * 车辆入驻
     *
     * @param carManage
     * @return
     */
    int insertCarManages(CarManage carManage);

    /**
     * 查询是否入驻过
     *
     * @param userId
     * @return
     */
    int selectCarManageCount(String userId);
}
